package pers.cocoadel.springcloud.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author ZhenWuWang
 */
@FeignClient(value = "cloud-provider-payment")
public interface PaymentService
{
    @GetMapping("/payment/get/{id}")
    String getPayment(@PathVariable("id") String id);

    @GetMapping("/payment/testA")
    String getTestA();
}
